package cn.dust.design.pattern.creational.simplefactory;

/**
 * @Author: dust
 * @Date: 2019/11/25 13:38
 */
public class Test {

    public static void main(String[] args) {
        HeroFactory heroFactory=new HeroFactory();
        Hero hero=heroFactory.chuansong(HanBin.class);
        hero.skill();
    }

}
